package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.result.Result;

/**
* @author MrWang
* @description 针对表【dish(菜品)】的数据库操作Service
* @createDate 2023-10-18 18:07:45
*/
public interface DishService extends IService<Dish> {

    Result dishList(DishPageQueryDTO dishPageQueryDTO);

    Result saveDish(DishDTO dishDTO);

    Result deleteDishes(String ids);

    Result getDishById(String id);

    Result updateDish(DishDTO dishDTO);

    Result getDishesByType(String categoryId);

    Result updateDishStatus(String status, String id);

    Result getDishListByCategoryId(String categoryId);
}
